package com.clstu.mhl.domain;

/**
 * 员工类,对应数据库中的员工表
 */
public class Employee {
    private Integer id ;
    private String eid;
    private String pwd;
    private String name;
    private String job;
    //无参构造器,apache-dbutils底层用反射的时候会用到,必须提供
    public Employee(){}

    //构造器

    public Employee(Integer id, String eid, String pwd, String name, String job) {
        this.id = id;
        this.eid = eid;
        this.pwd = pwd;
        this.name = name;
        this.job = job;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", eid='" + eid + '\'' +
                ", pwd='" + pwd + '\'' +
                ", name='" + name + '\'' +
                ", job='" + job + '\'' +
                '}';
    }
}
